//
//  MDCycleScrollCell.swift
//  麦兜直播
//
//  Created by Apple on 16/10/19.
//  Copyright © 2016年 yeqingyu. All rights reserved.
//

import UIKit

class MDCycleScrollCell: UICollectionViewCell {
    
    var cycleScroll:MDCycleScroll?{
        didSet{
        title.text = cycleScroll?.title
            
        let url = URL(string: (cycleScroll?.pic_url)!)
        imageView.kf.setImage(with: url)
            
        }
    }
    
    @IBOutlet weak var title: UILabel!
    @IBOutlet weak var imageView: UIImageView!

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

}
